/**
 * 
 */
package vn.support.connection.response.processor;

import org.apache.log4j.Logger;
import vn.support.connection.Connection;
import vn.support.connection.factory.DataObjectFactory;
import vn.support.connection.factory.EntityFactory;
import vn.support.core.dto.DataObject;

/**
 * @author nttuyen
 *
 */
public abstract class AbstractResponseProcessor implements ResponseProcessor {
	protected EntityFactory entityFactory;
    private static final Logger log = Logger.getLogger(AbstractResponseProcessor.class);
	
	protected AbstractResponseProcessor() {
		this.entityFactory = new DataObjectFactory();
	}
	
	protected DataObject prepair(DataObject data) {
		log.debug("Response DATA: " + data.get(Connection.DTO_RESPONSE_DATA));
		return data;
	}
}
